projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab2116c
)
Fix off-by-one error
author
Philipp Stephani
<phst@google.com>
Mon, 12 Jun 2017 21:35:23 +0000
(23:35 +0200)
committer
Philipp Stephani
<phst@google.com>
Mon, 12 Jun 2017 21:36:10 +0000
(23:36 +0200)
* test/data/emacs-module/mod-test.c (emacs_module_init): Fix
off-by-one error.
test/data/emacs-module/mod-test.c
patch
|
blob
|
history
diff --git
a/test/data/emacs-module/mod-test.c
b/test/data/emacs-module/mod-test.c
index f378db00cd472a294a50559949c28928bb49406f..5e857c048f00292295705de61dbf5f4762b1b236 100644
(file)
--- a/
test/data/emacs-module/mod-test.c
+++ b/
test/data/emacs-module/mod-test.c
@@
-269,7
+269,7
@@
emacs_module_init (struct emacs_runtime *ert)
emacs_env *env = ert->get_environment (ert);
- if (env->size <
=
sizeof *env)
+ if (env->size < sizeof *env)
return 2;
#define DEFUN(lsym, csym, amin, amax, doc, data) \